package com.secondkill.redis;

/**
 * Created by IBM on 2018/7/4.
 */
public class UserRedisKey extends BaseRedisKeyPrefix {

    public UserRedisKey(String prefix) {
        super(prefix);
    }

    public UserRedisKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static UserRedisKey getById () {
        return new UserRedisKey("id");
    }

    public static UserRedisKey getByName () {
        return new UserRedisKey("name");
    }
}
